package com.fulihui.systemcore.api;

import com.fulihui.systemcore.dto.PhoneRegLocDTO;
import com.fulihui.systemcore.request.phoneregloc.PhoneRegLocMobilesRequest;
import org.near.servicesupport.result.TSingleResult;

import java.util.Map;

/**
 * @author Willard.Hu on 2016/11/29 0029.
 */
public interface PhoneRegLocService {
    /**
     * 通过手机号列表查询手机号归属地
     *
     * @param request {@link PhoneRegLocMobilesRequest}
     * @return {@link PhoneRegLocDTO} 手机归属地映射，key是手机号
     */
    TSingleResult<Map<String, PhoneRegLocDTO>> queryByMobiles(PhoneRegLocMobilesRequest request);
}
